package com.itheima_7;

import java.time.LocalDateTime;

public class test_7_2 {
    public static void main(String[] args) {
        LocalDateTime now = LocalDateTime.now();
        LocalDateTime of = LocalDateTime.of(2020,9,8,05,56,23);
        System.out.println("年"+of.getYear());
        System.out.println("月"+of.getMonthValue());
        System.out.println("日"+of.getMonthValue());
        System.out.println("时"+of.getMonthValue());
        System.out.println("月"+of.getMonthValue());
        System.out.println("月"+of.getMonthValue());
        System.out.println("月"+of.getMonthValue());

    }
}
